<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2021/11/19
 * Time: 13:22
 */
namespace app\job;


use app\index\service\Push;
use Hedeqiang\TenIM\IM;
use think\Exception;
use think\facade\Db;
use think\queue\Job;

class JobAuto{


    /**
     * 发送消息job
     * @param Job $job
     * @param $data
     */
    public function task(Job $job, $data){
            $job->delete();//删除队列的任务
    }


    public function failed($data){
        //失败的订单（包括所有类型的）
    }
}